Make the captureScreenshot() auxiliary function return the GFile at
which the texture was saved. This file will be used to return the
screenshot URI to the new D-Bus method to take interactive
screenshots.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2999>
notification.setTransient(true);
Main.messageTray.add(source);
source.showNotification(notification);
+
+ return file;
}
/**
);
stream.close(null);
- _storeScreenshot(stream.steal_as_bytes(), pixbuf);
+ return _storeScreenshot(stream.steal_as_bytes(), pixbuf);
}
/**